package com.peas.platform.module.icims.budget.project.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.budget.project.adapter.repository.BudgetProjectNoticeRepository;
import com.peas.platform.module.icims.budget.project.adapter.repository.po.BudgetProjectNoticePo;
import com.peas.platform.module.icims.budget.project.domain.BudgetProjectNoticeDomain;
import com.peas.platform.module.icims.budget.project.dto.BudgetProjectNoticeDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class BudgetProjectNoticeDomainImpl extends BaseDomainImpl<BudgetProjectNoticeDto, BudgetProjectNoticePo> implements BudgetProjectNoticeDomain {

    @Resource
    private BudgetProjectNoticeRepository budgetProjectNoticeRepository;

    @Override
    public BaseRepository<BudgetProjectNoticePo> getMapper() {
        return budgetProjectNoticeRepository;
    }

    @Override
    public Class<? extends BaseRepository<BudgetProjectNoticePo>> getRepositoryClass() {
        return BudgetProjectNoticeRepository.class;
    }

}
